var nodeStr = sessionStorage.getItem("nodeStr");
var nodeObj = JSON.parse(nodeStr);
/*获取下个节点的id*/
function nextNodeId(){
	var nextNodes = [];
	var nodeId = $("#node").val();
	nextNodes.push(nodeId)
	return nextNodes;
}
$(function(){
	/*
	*接收并初始化节点
	*/
	$("#currentNodeName").val('开始');
	for(var node in nodeObj){
		var nodeChild = nodeObj[node];
		if(nodeChild.type != "start round" && node != '${currentNodeId}'){
			$("#node").append("<option value='"+node+"'>"+nodeChild.name+"</option>");
		}
	}
})